package com.yqkj.zysoft.upms.entity.dto;

import  com.project.easy.common.util.dto.ApiContextParam;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
/**
 * @author GreatorMan.cool
 * @copyright: Copyright (c) 2020
 * @company: 扬起科技有限公司
 * @date 2021/9/8 21:27
 * @description: 用户组管理
 */
@Data
public class FrameWorkGroupAddRequest extends ApiContextParam {
    /**
     * 组编码
     */
    @NotBlank(message = "组编码不能为空!")
    @Length(message = "组编码不能超过{max}长度字符", max = 64)
    private String groupCode;
    /**
     * 字典名称
     */
    @NotBlank(message = "组名称不能为空!")
    @Length(message = "组名称不能超过{max}长度字符", max = 128)
    private String groupName;

}
